package com.koron.bean.app;

import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName AppBean
 * @description
 * @Author zhouj
 * @Date 2021/7/13 10:40
 */
@Data
public class AppBean extends BaseBean {

    @ApiModelProperty(value = "数据源编码")
    private String code;
    @ApiModelProperty(value = "应用表名称")
    private String name;
    @ApiModelProperty(value = "数据源标识")
    private String mark;
    @ApiModelProperty(value = "集团组织")
    private String department;
    @ApiModelProperty(value = "集团组织名字")
    private String departmentName;
    @ApiModelProperty(value = "应用类型")
    private String type;
    @ApiModelProperty(value = "应用数据源IP")
    private String dbHost;
    @ApiModelProperty(value = "应用数据源全路径IP")
    private String dbFullHost;
    @ApiModelProperty(value = "应用数据库名")
    private String dbName;
    @ApiModelProperty(value = "应用数据库端口")
    private Integer dbPort;
    @ApiModelProperty(value = "应用数据库用户名")
    private String dbUser;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "应用数据库用户密码")
    private String dbPassword;
    @ApiModelProperty(value = "应用驱动类名")
    private String dbDriverClassName;
    @ApiModelProperty(value = "签名方式")
    private String sign;
    @ApiModelProperty(value = "应用状态 1：启用 0:停用")
    private Integer status;
    @ApiModelProperty(value = "排序号")
    private Integer sort;

}
